<script>
export default {
  name: "MessageLine",
};
</script>

<template>
  <div class="message-line">
    <div class="line-warp">
      <a class="line__link">
        <!-- <i class="link__icon el-icon-message" /> -->
        <span class="link__text">
          <slot></slot>
        </span>
      </a>
    </div>
  </div>
</template>

<style scoped lang="scss">
.message-line {
  .line-warp {
    margin: 8px 0;
    .line__link {
      display: flex;
      flex-direction: row;
      align-items: center;
      // min-height: 45px;
      height: 38px;
      position: relative;
      font-size: 14px;
      color: #797979;
      // border: 1px solid #bbcbda;
      border-left: none;

      &:hover {
        border-color: #1a8cff;

        &:before {
          background-color: #1a8cff;
        }
      }

      &:before {
        content: " ";
        width: 8px;
        // height: 100%;
        height: 8px;
        // background-color: #bbcbda;
        background: #b1bac7;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 16px;
        bottom: 0;
      }

      .link__icon {
        width: 32px;
        height: 32px;
        font-size: 28px;
        position: relative;
        top: 3px;
        margin-left: 8px;
      }
      .link__text{
        margin-left: 15px;
      }
    }
  }
}
</style>
